package com.base.kongjian.entity;

import com.mysteel.core.Entity;

/**
 * 
 * @author chendonglin
 *
 */
public class Message implements Entity
{
	private static final long serialVersionUID = -4178310655445213099L;
	
	private long id;			//PK
	
	private long memberId;		//会员ID,也就是接收者的ID
	private long send_MId;		//发送者的ID
	
	private String content;		//类容
	
	private int status; 		//1-未读，2-已读
	
	private long createTime;	//发送时间
	private int type ;			//1-留言,2-空间好友请求，3-被关注，4-系统消息

	
	public int getType()
	{
		return type;
	}

	public void setType(int type)
	{
		this.type = type;
	}

	public long getId()
	{
		return id;
	}

	public void setId(long id)
	{
		this.id = id;
	}

	public long getMemberId()
	{
		return memberId;
	}

	public void setMemberId(long memberId)
	{
		this.memberId = memberId;
	}

	public long getSend_MId()
	{
		return send_MId;
	}

	public void setSend_MId(long send_MId)
	{
		this.send_MId = send_MId;
	}

	public String getContent()
	{
		return content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public int getStatus()
	{
		return status;
	}

	public void setStatus(int status)
	{
		this.status = status;
	}

	public long getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(long createTime)
	{
		this.createTime = createTime;
	}

	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}

	public Message(long id, long memberId, long send_MId, String content,
			int status, long createTime,int type)
	{
		super ();
		this.id = id;
		this.memberId = memberId;
		this.send_MId = send_MId;
		this.content = content;
		this.status = status;
		this.createTime = createTime;
		this.type = type;
	}

	public Message()
	{
		super ();
	}
	
}
